package com.blog.wu.myblog.base;

import java.util.List;

/**
 * 基础crud Dao类
 *
 * @Date 2018/12/28 12:08 AM
 * @Author wuyanshen
 */
public interface CrudDao<T> {

    T get(T entity);

    List<T> findList(T entity);

    int delete(T entity);

    int insert(T entity);

    int update(T entity);

    Long count(T entity);

    List<T> findPage(T entity);
}
